package com.du.stutestsys.dao;

import com.du.stutestsys.entity.Subject;
import com.du.stutestsys.util.PageUtil;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SubjectMapper {
    Integer addSubject(Subject subject);

    Integer updateSubject(Subject subject);

    List<Subject> selectSubject(Subject subject,@Param("pageUtil") PageUtil pageUtil);
}
